package com.flyco.modules.pms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 商品评价回复
 * @Author: flyco
 * @Date:   2020-02-27
 * @Version: V1.0
 */
@Data
@TableName("pms_comment_replay")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="pms_comment_replay对象", description="商品评价回复")
public class PmsCommentReplay {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**评论id*/
	@Excel(name = "评论id", width = 15)
    @ApiModelProperty(value = "评论id")
	private Long commentId;
	/**会员昵称*/
	@Excel(name = "会员昵称", width = 15)
    @ApiModelProperty(value = "会员昵称")
	private String memberNickName;
	/**会员头像*/
	@Excel(name = "会员头像", width = 15)
    @ApiModelProperty(value = "会员头像")
	private String memberIcon;
	/**内容*/
	@Excel(name = "内容", width = 15)
    @ApiModelProperty(value = "内容")
	private String content;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**评论人员类型；0->会员；1->管理员*/
	@Excel(name = "评论人员类型；0->会员；1->管理员", width = 15)
    @ApiModelProperty(value = "评论人员类型；0->会员；1->管理员")
	private String type;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private String createBy;
}
